package com.os.start.service;

import com.os.start.pojo.SUser;
import com.os.utils.JqGridResult;

import java.util.List;

/**
 * Created by songc on 2022-01-06.
 */
public interface UserService {

    public void saveUser(SUser user);

    public void updateUser(SUser user);

    public void deleteUser(String userId);

    public SUser queryUserById(String userId);

    public List<SUser> queryUserList(SUser user) throws InterruptedException;

    public List<SUser> queryUserListPaged(SUser user, Integer page, Integer pageSize);

    public JqGridResult queryUserListPagedJqGrid(SUser user, Integer page, Integer pageSize);

    public List<SUser> queryUserListCustom(String id);

    public void saveUserTransactional(SUser user);
}
